home *** CD-ROM | disk | FTP | other *** search
- Path: news-2.csn.net!usenet
- From: ctodd@Magiclink.com
- Newsgroups: comp.lang.rexx
- Subject: Closing a File?
- Date: 24 Feb 1996 03:22:40 GMT
- Organization: SuperNet Inc. (303)-296-8202 Denver Colorado
- Distribution: inet
- Message-ID: <4gm0a0$cjl@news-2.csn.net>
- Reply-To: ctodd@Magiclink.com
- NNTP-Posting-Host: 199.104.22.101
- X-Newsreader: IBM NewsReader/2 v1.2
-
- I am A NEW REXX programmer. I have a Pascal background.
- My Problem is I am using a temp file and I want to delete it.
- { Example }
-
- 'procs >'||tempfile
- do while lines(tempfile) > 0
- say linein(tempfile)
- end
- call lineout tempfile <------- This line will not compile.
- 'erase '||tempfile
-
- The Documentation say the lineout call will Close the file. But Alas,
- erase fails with a exclusive access problem. (rexx still has the file open)
-
- What do I do?
-
- Chuck Todd
- at Warp with Speed Pascal/2
-